/* Hot Topic Panel Styles */

.container {
  padding: 16px;
  background: #f5f5f5;
  border-radius: 8px;
}

/* Topic Card Styles */
.topicCard {
  height: 100%;
  transition: all 0.3s ease;
  border: 1px solid #e8e8e8;
}

.topicCard:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-color: #1890ff;
}

.cardContent {
  min-height: 180px;
}

.topicTitle {
  margin-bottom: 8px !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  color: #262626;
  line-height: 1.5;
}

.topicExcerpt {
  margin-bottom: 12px !important;
  font-size: 14px;
  line-height: 1.6;
  color: #595959;
}

/* Comment View Styles */
.statsCard {
  margin-bottom: 16px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 8px;
}

.statsCard :global(.ant-card-body) {
  padding: 16px;
}

.statsCard :global(.ant-statistic-title) {
  color: rgba(255, 255, 255, 0.8);
}

.statsCard :global(.ant-statistic-content) {
  color: white;
}

.filterBar {
  margin-bottom: 16px;
  padding: 12px;
  background: white;
  border-radius: 8px;
  display: flex;
  justify-content: center;
}

.commentList {
  max-height: 400px;
  overflow-y: auto;
  background: white;
  border-radius: 8px;
  padding: 8px;
}

.commentList::-webkit-scrollbar {
  width: 8px;
}

.commentList::-webkit-scrollbar-track {
  background: #f0f0f0;
  border-radius: 4px;
}

.commentList::-webkit-scrollbar-thumb {
  background: #bfbfbf;
  border-radius: 4px;
}

.commentList::-webkit-scrollbar-thumb:hover {
  background: #8c8c8c;
}

.commentContent {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.6;
  color: #262626;
}

/* Loading State */
.loadingContainer {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 300px;
}

/* Empty State */
.emptyContainer {
  text-align: center;
  padding: 40px;
  color: #8c8c8c;
}

.emptyContainer :global(.ant-empty-description) {
  color: #8c8c8c;
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 12px;
  }
  
  .topicCard {
    margin-bottom: 12px;
  }
  
  .cardContent {
    min-height: 150px;
  }
  
  .topicTitle {
    font-size: 14px !important;
  }
  
  .topicExcerpt {
    font-size: 13px;
  }
  
  .commentList {
    max-height: 300px;
  }
}

/* Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.topicCard {
  animation: fadeIn 0.3s ease-in-out;
}

/* Tag Styles */
.topicCard :global(.ant-tag) {
  border-radius: 4px;
  font-size: 12px;
}

/* Button Hover Effects */
.topicCard :global(.ant-btn-primary:hover) {
  background-color: #40a9ff;
  border-color: #40a9ff;
  transform: scale(1.05);
}

/* List Item Hover */
.commentList :global(.ant-list-item:hover) {
  background-color: #fafafa;
  transition: background-color 0.3s ease;
}

/* Selected Comment Style */
.commentList :global(.ant-list-item) {
  position: relative;
  padding-right: 48px;
}

.commentList :global(.ant-checkbox-wrapper) {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
}